export default {
  getComputedStyle(dom, sty) {
    return parseInt(window.getComputedStyle(dom, null).getPropertyValue(sty));
  },
  setDomStyle(dom, key, val) {
    dom.style[key] = val;
  }
}